{if count($aTopics) > 0}
<table style="width: 100%;" cellpadding="4" cellspacing="0">
<tr>
    <td>
        <table style="width: 100%;" class="border13" cellpadding="0" cellspacing="0" border="0">
        <tr>
            <td width="7"><img src="design/pic/spacer.gif" class="sqr1" alt="" height="7" width="7" /></td>
            <td class="block_header">{language text="new_forum_topics"}</td>
        </tr>
        </table>

        <br />
        <div style="padding-left: 11px;">{Forum::ForumJump}</div>
        <br />
        <table style="width:100%;" cellspacing="5" cellpadding="5">
        <tr>
            <td>
                <div class="border2">
                    <table style="width:100%;" cellspacing="0" cellpadding="4">
                    <tr>
                        <td style="font-size:7pt;">
                        {foreach from=$aTopics item=aTopic name=topics}
                        <table style="width:100%;" cellspacing="5" cellpadding="4"{if $smarty.foreach.topics.iteration % 2} class="border13"{/if}>
                        <tr>
                            <td style="width:10%;font-size:8pt;text-align:center;vertical-align:top;"><a href="{url link='public.user' name=$aTopic.user}">
                                {Account::Avatar sUser=$aTopic.user iSize=50 class="pic1" onmouseover="showInfo5('`$aTopic.user`', '', '');this.className='pic2';" onmouseout="this.className='pic1';return nd();"}
                            </a></td>
                            <td style="width:90%;font-size:8pt;">
                                <div style="font-size:10pt;"><b><a href="{url link='public.forum.posts' id=$aTopic.id foxseotitle=$aTopic.title}">{$aTopic.title}</a></b></div>
                                <div style="padding-top:5px;padding-left:20px;"><i>{language text="by_397"}</i>: <a href="{url link='public.user' name=$aTopic.user}">{$aTopic.user}</a> <i>{language text="date_399"}</i>: {$aTopic.time|date_format:$sDateTimeFormat}</div>
                            </td>
                        </tr>
                        </table>
                        {foreachelse}

                        <div class="message_info">
                        {language text="there_are_no_topics_yet"}
                        </div>

                        {/foreach}
                        </td>
                    </tr>
                    </table>
                </div>
                <br />
                <div style="padding:5px;text-align:right;font-size:8pt;" class="color">
                    <a class="link_action" href="{url link='public.forum'}">[ {language text="view_more"} ]</a>
                </div>
            </td>
        </tr>
        </table>
    </td>
</tr>
</table>
{/if}